<%@ page contentType="text/html; charset=utf-8" language="java"%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>login</title>
		<link href="Css/style.css" rel="stylesheet">
		<script language="javascript">
function checkform(myform){
	for(i=0;i<myform.length;i++){
		if(myform.elements[i].value==""){
			alert(myform.elements[i].title+"不能为空！");
			myform.elements[i].focus();
			return false;
		}
	}
}
 function myReload(){
 	//document.getElementById("createCheckCode").src="PictureCheckCode";
	document.getElementById("createCheckCode").src=document.getElementById("createCheckCode").src+"?nocache="+new Date().getTime();
 }
</script>
	</head>

	<body>
		<form name="form1" method="post" action="/vk/deal"
			onSubmit="return checkform(form1)">
			<table width="613" height="434" border="0" align="center"
				cellpadding="0" cellspacing="0" background="images/loginBg.jpg">
				<tr>
					<td width="83" height="124" valign="top">
						&nbsp;
					</td>
					<td width="418" valign="top">
						&nbsp;
					</td>
					<td width="112" valign="top">
						&nbsp;
					</td>
				</tr>

				<tr>
					<td height="161" valign="top">
						&nbsp;
					</td>
					<td align="center" valign="top">

						<table width="90%" height="141" border="0" cellpadding="0"
							cellspacing="0">
							<tr>
								<td width="23%" align="center">
									用户名：
								</td>
								<td colspan="2">
									<input name="deal" type="hidden" value="login">
									<input name="username" type="text" id="username" size="30"
										title="用户名">
								</td>
							</tr>
							<tr>
								<td align="center">
									密&nbsp;&nbsp;码：
								</td>
								<td colspan="2">
									<input name="pwd" type="password" id="pwd" size="30" title="密码">
								</td>
							</tr>
							<tr>
								<td align="center">
									验证码：
								</td>
								<td width="18%">
									<input name="checkCode" type="text" id="checkCode"
										title="验证码区分大小写" size="8" maxlength="4">
								</td>
								<td width="59%" style="padding-top: 4px">
									<img src="PictureCheckCode" id="createCheckCode">
									<a href="#" onClick=myReload();>&nbsp;看不清?换一个</a>
								</td>
							</tr>
							<tr>
								<td>
									&nbsp;
								</td>
								<td colspan="2">
									<input name="Submit" type="submit" class="btn_bg" value="登录">
									&nbsp;
									<input name="Submit2" type="reset" class="btn_bg" value="重置">
								</td>
							</tr>
						</table>

					</td>
					<td valign="top">
						&nbsp;
					</td>
				</tr>

				<tr>
					<td valign="top">
						&nbsp;
					</td>
					<td valign="top">
						&nbsp;
					</td>
					<td valign="top">
						&nbsp;
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>
